Latest Questions

Which one should I choose between collecting Flow from ViewModel or collecting Flow in Compose directly

The code A collect Flow in ViewModel, and convert a Flow as hot Flow using MutableStateFlow, then use collectAsState() in Compose. The code B collect Flow in Co

How can I convert a return statement into a printable statement? [closed]

I am making a GFC (Greatest Common Factor) calculator with GUI, but my current code only works with a return statement, and tkinter doesn't ac

I've been trying to scrape profile pictures in Instagram using this code but i keep getting TypeError: 'NoneType' object is not subscriptable

import requests from bs4 import BeautifulSoup as bs User = input("input the username of the user "); url = 'https://instagram.com/' + User +'/' r = requests.get

Using aws_kms_key forces instance replacement

I have a strange problem, I created "aws_kms_keys" which is fine and working okay, then I assign that created keys to my ebs_block with the following code : #

how to get facebook app un-restricted when it's missing from the appeal page?

really weird issue with app id 871708929528215, a restricted app that has been dormant for years, i have fixed the crashing problem they complained about, and f

Unity-Android checking Export Project in android build settings causes Addressables issues

Im currently using Unity 2020.3.5f1, addressable ver 1.19.17 This is how im setting up my projects : building my addressables in Project A, and downloading and

By click of the button the same form is added under that form but how can i get the value of the number of times it getting printed &store it in table

by click of the button the same form is added under that form but how can i get the value of the number of times it getting printed &store it in table. How

service.beta.kubernetes.io/aws-load-balancer-private-ipv4-addresses nlb for ingress controller on eks not creating

I have deployed nginx ingress controller with helm whit this annotation annotations: service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp service.

Serverless deploy from M1 MacBook Pro causes invalid ELF header error

I have a serverless REST api connecting to MongoDB atlas. When making changes and running sls deploy everything deploys as normal. But when I query the DB from

How can I kill an app that I have started earlier in Android?

My app executes other apps depending on different events. For example, if the Bluetooth gets connected to "my loudspeaker" then my app launches Spotify. This wo

I'd like to change the Keras to a pytorch, but I don't know how to build a neural network

The HAR dataset should be analyzed using LSTM and 1D CNN. I need to check the graph of the change in loss and check the confusion matrix. I don't know how to ma

How to make Chain multiple RxJS observables subscribe angular 8?

I work on angular 8 i have multiple subscribe i need to make Chain multiple RxJS for getactivesession and after that subscribe PostUpload . What I have tried:

Cypress - Status: 401 - Unauthorized in token authentication to other API call

I would like to ask for your help regarding the authentication token to be used in other API calls. Below are the scripts of the command and test case: //comman

How can I display an html text as a function in the blade?

I want to display the text in the blade as html. To do this, I used this code in the controller section: ‌ class MessageController{ public function cus

AUR problems with installations

i've a problem in my arch linux distribution, i've added the black arch repo to this one. When i try to install the impacket suit or crackmapexec using sudo pac

can I use a façade design pattern with a factory design pattern?

I have an animal interface and subclasses like birds, cats..etc that extends from the Animal class and I have a factory class.. my question is can I use facade

Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope'

i am trying to import scripts from importScripts("https://www.gstatic.com/firebasejs/9.1.0/firebase-app.js"); importScripts("https://www.gstatic.com/firebasejs/

ReactJs - Ant design Tabs Card does not render content

My components used ReactJs Framework that built with Ant Design UI. My stucking is the rendering on tabs content. I try to nest the LoginForm component to TabsC

Iterate over a YAML complex map in helm

I am using Helm v3 and trying to iterate over a complex object/map in a YAML definition file for Kubernetes network policy with the following content:values.ya

windows kernel driver and undocumented API

I try to use an undocumented API while developing a windows kernel driver. Please don't tell me this is not the best thing to do ;) Anyway, the undocumented API

How can we create the below UI as shown in Native Android

I have to implement the below seek bar as shown below. The left side round thumb icon can be dragged and can be placed to each corresponding numbers. The number

echoing PROMPT_COMMAND from terminal and from bash script

while trying to write a bash script i encountered a strange issue when i try to execute it. i want to echo the $PROMPT_COMMAND variable thus, i have the followi

Angular not grabbing elements by class name when page is loaded

I am trying to get the document.getElementsByClassName('side-nav-link-ref'); elements in my angular html view and It keeps returning empty. I’ve narrowed

How Can i Arrange a list of integers in python in txt file? [duplicate]

How can I arrange a list of integers in python in txt file? Example = I am having: ['45 USD\n', '68 USD\n', '32 USD\n', '894 USD\n'] I want t

How to explain these multiprocessing execution results?

I met such a problem: it has some mutually independent big tasks, and each task has some following mutually independent small tasks that depend on the result of

Spring cloud config using ssh instead of https

I am banging my head around why spring cloud config is using ssh even when i try to provide https uri in the application.yaml. Here's my quick config file: spri

Subtract the date from each cell in a column, skip cells that have string values

I have an Excel sheet of expiration dates. Some rows lack an expiration date so I chose to fill those cells with the string “NO DATA”. I want to loo

Pivot rows into columns Firebird 2.1

I have a table containing several kilometers about 100 table of kilometers I need to rotate rows into columns like this pivot rows into columns The number of co

How to update the actual true value="" of a input field when another field is entered

I have reviewed tonnes of articles and all solutions only update the visually displayed value as opposed to the actual value within the input tag itself. When I

I have one next button onclick of it increments my url as http://www.dev-crn.com:5703/tag/cloud/6... so on

I have one next button onclick of it increments my url as http://www.dev-crn.com:5703/tag/cloud/6... so on now i need to decrement the url onclick of previous b